#ifndef COMM_H
#define COMM_H

#include <QtGui> // SERIALIZZAZIONE

// #include "ppc_impl.h"

#include "page.h"

class Comm
{
public:
	Comm();
    Comm(const Comm& comm);
	Comm(const string& name);
	Comm(const string& name, const string& surname);
	Comm(const string& name, const string& surname, const string& id);

    Comm& operator = (const Comm& comm);
    string Id(void) const;
    string Name(void) const;
    string Surname(void) const;
    bool isEmpty(void) const;

	void Id(const string& id);
	void Name(const string& name);
	void Surname(const string& surname);
    void setEmpty( void );

	void PPrn(Page& p_buff);

private:
	string m_Id;
	string m_Name;
	string m_Surname;
};

Q_DECLARE_METATYPE(Comm) // SERIALIZZAZIONE

#endif
